﻿package  {
	import flash.display.MovieClip;
	
	public class Player extends MovieClip
	{
		public var moveLeft:Boolean = false;
		public var moveRight:Boolean = false;
		public var duck:Boolean = false;
		
		public var walkSpeed:Number = 0.15;
		public var jumpSpeed:Number = 0.8;
		public var jump:Boolean = false;
		public var inAir:Boolean = false;
		
		public var hitWallLeft = false;
		public var hitWallRight = false;
		
		public var dx:Number = 0.0;
		public var dy:Number = 0.0;
		public var direction:int = 1;
		
		public var animState:String = "stand";
		public var animStep:Number = 0;
		public var walkAnimation:Array = new Array(2,3,4);
		
		public function Player(posX:Number, posY:Number) 
		{
			this.x = posX;
			this.y = posY;
			this.alpha = 0;
		}

	}
	
}
